# -*- coding: utf-8 -*-
from odoo import models, fields, api
from odoo.exceptions import ValidationError
import datetime

class StudentCourseReport(models.AbstractModel):
    _name = 'report.hr_holidays_customize.hr_holidays_report'

    @api.multi
    def render_html(self, docids, data=None):
        docs = self.env['hr.holidays'].browse(docids)
        docargs = {
            'doc_ids': docids,
            'doc_model': 'hr.holidays',
            'docs': docs,
        }
        return self.env['report'].render('hr_holidays_customize.hr_holidays_report_template', values=docargs)